package com.share.netty.im.response;

import com.share.netty.im.command.Command;
import com.share.netty.im.command.Packet;
import lombok.Data;

/**
 * @author caifan
 * @createTime 2020/5/10
 * @desc: 消息响应对象
 */
@Data
public class MessageResponsePacket extends Packet {

    private String fromUserId;

    private String fromUsername;

    private String message;

    @Override
    public Byte getCommand() {
        return Command.MESSAGE_RESPONSE;
    }
}
